﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SqlMiM.Common.ViewModel;
using System.Collections.ObjectModel;
using SqlMiM.SqlIndexes.Model;
using MvvmFoundation.Wpf;

namespace SqlMiM.SqlIndexes.ViewModel
{
    public class FragmentedIndexView : ObservableObject
    {

        FragmentedIndex fragmentedIndex;

        public FragmentedIndex FragmentedIndex
        {
            get { 
                return fragmentedIndex; 
            }
            set 
            {
                if (value != fragmentedIndex)
                {
                    fragmentedIndex = value;
                    this.RaisePropertyChanged("FragmentedIndex");
                }
            }
        }

        public FragmentedIndexView(FragmentedIndex fragmentedIndex)
        {
            this.FragmentedIndex = fragmentedIndex;
        }

        public FragmentedIndexView()
        {
        }

    }

}
